<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AIRI - 开源AI虚拟伴侣平台</title>
    <link href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
            color: #e0e0e0;
            overflow-x: hidden;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .card-hover {
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
            border-color: rgba(102, 126, 234, 0.5);
        }
        .feature-icon {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .section-divider {
            height: 1px;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
        }
        .drop-cap {
            float: left;
            font-size: 4rem;
            line-height: 3rem;
            padding-right: 0.5rem;
            margin-top: 0.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        .mermaid {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 2rem;
        }
        .code-block {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 1rem;
            font-family: 'Courier New', monospace;
            overflow-x: auto;
        }
        .badge {
            background: rgba(102, 126, 234, 0.2);
            border: 1px solid rgba(102, 126, 234, 0.5);
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            display: inline-block;
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
        .float-animation {
            animation: float 6s ease-in-out infinite;
        }
    </style>
</head>
<body>
    <!-- Hero Section -->
    <section class="min-h-screen flex items-center justify-center px-4 py-20">
        <div class="max-w-6xl mx-auto text-center">
            <div class="mb-8 float-animation">
                <i class="fas fa-robot text-8xl feature-icon"></i>
            </div>
            <h1 class="text-6xl md:text-8xl font-bold mb-6 hero-gradient">AIRI</h1>
            <p class="text-2xl md:text-3xl mb-8 text-gray-300">开源AI虚拟伴侣平台</p>
            <p class="text-lg md:text-xl max-w-3xl mx-auto mb-12 text-gray-400 leading-relaxed">
                基于大型语言模型的多模态AI伴侣，集实时语音交互、游戏互动与VTuber功能于一体，让每个人都能拥有属于自己的数字伴侣
            </p>
            <div class="flex flex-wrap justify-center gap-4">
                <a href="https://github.com/moeru-ai/airi" class="inline-flex items-center px-8 py-4 bg-gradient-to-r from-purple-600 to-indigo-600 text-white rounded-full hover:from-purple-700 hover:to-indigo-700 transition-all duration-300 transform hover:scale-105">
                    <i class="fab fa-github mr-2"></i>
                    GitHub仓库
                </a>
                <div class="badge">
                    <i class="fas fa-star mr-1"></i>3.6k Stars
                </div>
                <div class="badge">
                    <i class="fas fa-code-branch mr-1"></i>253 Forks
                </div>
            </div>
        </div>
    </section>

    <!-- Problem Section -->
    <section class="py-20 px-4">
        <div class="max-w-6xl mx-auto">
            <h2 class="text-4xl font-bold mb-12 text-center">
                <i class="fas fa-puzzle-piece mr-3 feature-icon"></i>
                它能解决什么问题
            </h2>
            <div class="grid md:grid-cols-3 gap-8">
                <div class="card-hover bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <i class="fas fa-cloud-upload-alt text-3xl mb-4 feature-icon"></i>
                    <h3 class="text-xl font-semibold mb-3">云服务依赖</h3>
                    <p class="text-gray-400">现有AI聊天平台依赖云服务，限制了用户对数据的控制，存在隐私风险</p>
                </div>
                <div class="card-hover bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <i class="fas fa-dollar-sign text-3xl mb-4 feature-icon"></i>
                    <h3 class="text-xl font-semibold mb-3">高昂成本</h3>
                    <p class="text-gray-400">商业VTuber解决方案价格昂贵，且对非流媒体场景支持有限</p>
                </div>
                <div class="card-hover bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <i class="fas fa-code text-3xl mb-4 feature-icon"></i>
                    <h3 class="text-xl font-semibold mb-3">技术门槛</h3>
                    <p class="text-gray-400">开发AI伴侣需要整合复杂技术，技术门槛高，耗时长</p>
                </div>
            </div>
            <div class="mt-12 text-center">
                <p class="text-xl text-gray-300">
                    <span class="drop-cap">A</span>IRI提供了一个开源、可自托管的平台，将实时语音、游戏互动和虚拟角色动画整合到一个易于部署的系统中
                </p>
            </div>
        </div>
    </section>

    <div class="section-divider max-w-4xl mx-auto my-16"></div>

    <!-- Core Features -->
    <section class="py-20 px-4">
        <div class="max-w-6xl mx-auto">
            <h2 class="text-4xl font-bold mb-12 text-center">
                <i class="fas fa-magic mr-3 feature-icon"></i>
                核心功能概述
            </h2>
            <div class="grid md:grid-cols-2 gap-8 mb-12">
                <div class="card-hover bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-microphone-alt text-2xl mr-3 feature-icon"></i>
                        <h3 class="text-2xl font-semibold">实时语音交互</h3>
                    </div>
                    <p class="text-gray-400">支持浏览器或Discord的语音输入，结合ElevenLabs语音合成技术，实现自然流畅的对话体验</p>
                </div>
                <div class="card-hover bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-gamepad text-2xl mr-3 feature-icon"></i>
                        <h3 class="text-2xl font-semibold">游戏互动能力</h3>
                    </div>
                    <p class="text-gray-400">内置Minecraft和Factorio支持，AI可理解自然语言指令，执行游戏任务</p>
                </div>
                <div class="card-hover bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-cube text-2xl mr-3 feature-icon"></i>
                        <h3 class="text-2xl font-semibold">VRM模型支持</h3>
                    </div>
                    <p class="text-gray-400">兼容VRM 3D模型，包含自动眨眼、头部追踪和空闲动画，提升虚拟角色的真实感</p>
                </div>
                <div class="card-hover bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-server text-2xl mr-3 feature-icon"></i>
                        <h3 class="text-2xl font-semibold">自托管与跨平台</h3>
                    </div>
                    <p class="text-gray-400">支持Web、macOS和Windows，基于WebGPU和Tauri技术，允许本地运行或浏览器访问</p>
                </div>
            </div>

            <!-- Architecture Diagram -->
            <div class="mt-16">
                <h3 class="text-2xl font-semibold mb-8 text-center">系统架构</h3>
                <div class="mermaid">
                    graph TB
                        A[用户] -->|语音/文本| B[AIRI核心]
                        B --> C[LLM处理]
                        B --> D[语音合成]
                        B --> E[游戏代理]
                        B --> F[VRM渲染]
                        C --> G[OpenAI/本地LLM]
                        D --> H[ElevenLabs]
                        E --> I[Minecraft]
                        E --> J[Factorio]
                        F --> K[WebGPU渲染]
                        style A fill:#667eea,stroke:#fff,stroke-width:2px
                        style B fill:#764ba2,stroke:#fff,stroke-width:2px
                </div>
            </div>
        </div>
    </section>

    <div class="section-divider max-w-4xl mx-auto my-16"></div>

    <!-- Use Cases -->
    <section class="py-20 px-4">
        <div class="max-w-6xl mx-auto">
            <h2 class="text-4xl font-bold mb-12 text-center">
                <i class="fas fa-lightbulb mr-3 feature-icon"></i>
                使用场景
            </h2>
            <div class="space-y-8">
                <div class="bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <h3 class="text-2xl font-semibold mb-4">
                        <i class="fas fa-user mr-2 text-purple-400"></i>
                        个人娱乐与陪伴
                    </h3>
                    <p class="text-gray-300 leading-relaxed">用户部署AIRI作为桌面伴侣，通过语音与虚拟角色聊天或一起玩Minecraft。AIRI可响应自然语言指令，如"建造一个木屋"，提供沉浸式互动体验。</p>
                </div>
                <div class="bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <h3 class="text-2xl font-semibold mb-4">
                        <i class="fas fa-video mr-2 text-indigo-400"></i>
                        VTuber内容创作
                    </h3>
                    <p class="text-gray-300 leading-relaxed">VTuber主播使用AIRI的VRM模型和实时语音功能，结合OBS进行直播。AI可根据观众消息自动回应或执行游戏动作，增加直播互动性。</p>
                </div>
                <div class="bg-gray-900 bg-opacity-50 p-8 rounded-2xl">
                    <h3 class="text-2xl font-semibold mb-4">
                        <i class="fas fa-flask mr-2 text-pink-400"></i>
                        AI开发实验
                    </h3>
                    <p class="text-gray-300 leading-relaxed">开发者利用AIRI的开源代码和模块化架构，测试多模态AI应用，如整合新的游戏或语音模型，探索AI伴侣的创新用途。</p>
                </div>
            </div>
            <div class="mt-12 p-6 bg-gradient-to-r from-purple-900 to-indigo-900 rounded-2xl text-center">
                <p class="text-lg">
                    <i class="fas fa